package com.hue.gulimail.gulimailproduct.feign;

import com.hue.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 姚凤桥
 * @Date 2022/1/20 9:50
 * @Description:
 */
@FeignClient("gulimail-seckill")
public interface SeckillFeignService {
    /**
     * 查询sku的秒杀信息
     *
     * @return
     */
    @GetMapping("/skuInfo/seckill/{skuId}")
    R skuInfoSeckill(@PathVariable("skuId") Long skuId);
}
